package com.sand.feign;

import com.sand.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("juao-inventory")
public interface InventoryFeign {

    /**
     * 完成采购新增库存
     */
    @PostMapping("/addlist")
    ResponseResult<Integer> addlist(@RequestBody Integer purchaseid);

}
